package other;

/**
 * @author ln
 * @Description: ${todo}
 * @date 2020/12/18
 */
public class Test2 {

    public static void main(String[] args) {
        Test2 test2 = new Test2();
        test2.methed();
    }

    public  void methed(){
        synchronized (Test2.class){
            System.out.println("test");
        }
    }
}
